package com.hy.controller.setting;

import com.hy.common.base.RespResult;
import com.hy.entity.dto.LogShowDTO;
import com.hy.service.LogService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/log")
public class LogController {

    @Resource
    private LogService logService;

    @GetMapping("/showLog")
    public RespResult showLog(LogShowDTO showDTO){

       return logService.showLog(showDTO);


    }












}
